﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace craigsPack
{
    /// <summary>
    /// Sealed class that represents a providers search results
    /// </summary>
    public sealed class SearchResultsEventArgs : EventArgs
    {
        private readonly object results;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="results">search results found from a custom provider typically a array</param>
        public SearchResultsEventArgs(object results)
        {
            this.results = results;
        }
        /// <summary>
        /// Gets a custom web providers search results
        /// </summary>
        public object Results
        {
            get { return results; }
        }
    }
}
